package com.cdxy.model.dto.req;

import com.cdxy.model.dto.base.req.BasePageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/4/2 13:49
 */
@Data
@ApiModel
public class SaveListReq extends BasePageReq implements Serializable {

    private static final long serialVersionUID = 2824926737822343505L;

    @ApiModelProperty(value = "不用传，会从 authorization 获取")
    private Integer axUid;

    /**
     * （1-景点 2-酒店 3-帖子）
     */
    @ApiModelProperty(value = "查看类型（1-景点 2-酒店 3-帖子）", allowableValues = "1,2,3")
    @NotNull(message = "查看类型不能为空")
    private Integer type;
}
